@charset "utf-8";
/* CSS Document */
html, body, div, span, p, a, em, img, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

em {
    font-style: normal;
}

ul {
    list-style: none;
}

input {
    -webkit-appearance: none;
}

/*清除浮动代码*/
.fl {
    float: left;
}

.clearfix:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0
}

body, html {
    height: 100%;
    overflow: hidden;
}

/*IE8及以上*/
#wrapper {
    background: #fff;
    border: 1px solid #fff;
    color: #333;
    overflow: auto;
    height: 100%;
    font-size: 16px;
    -webkit-text-size-adjust: none;
    position: relative;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
    max-width: 640px;
}

img {
    border: none;
    max-width: 100%;
}

.rule-p {
    text-align: right;
    margin: 30px auto 20px;
    width: 88%;
}

.rule-p img {
    height: 12px;
    margin-left: 5px;
}

.rule-a {
    color: #e22029;
}

.rule-click img {
    -webkit-animation: flip ease-in-out 0.3s forwards;
}

@-webkit-keyframes flip {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(180deg);
    }
}

.rule-con {
    background: url(http://66xiaoqu.babytreeimg.com/images/inviteReward/pic1.png) no-repeat right 40%;
    background-size: 50% auto;
    display: none;
}

.rule-t {
    background: url(http://66xiaoqu.babytreeimg.com/images/inviteReward/title-bg.png) no-repeat center center;
    background-size: 100% 100%;
    padding-top: 10px;
    text-align: center;
}

.rule-t span {
    background: #e22029;
    border-radius: 20px;
    color: #fff;
    display: inline-block;
    padding: 6px 0;
    width: 36%;
    font-size: 20px
}

.rule-ul {
    line-height: 1.6em;
    margin: 20px auto 0;
    width: 90%;
}

.rule-ul li {
    position: relative;
    margin-top: 5px;
}

.rule-ul em {
    color: #fff;
    border-radius: 50%;
    background: #e22029;
    display: inline-block;
    height: 26px;
    line-height: 28px;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 0;
    width: 26px;
}

.rule-ul p {
    text-indent: 30px;
}

.btn {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 30%;
    display: block;
}

.pic {
    display: block;
}

.btn li {
    float: left;
    border-radius: 5px;
    border: 1px solid #e5212b;
    color: #e5212b;
    width: 41%;
    height: 45px;
    line-height: 45px;
    margin-left: 6%;
    text-align: center;
    display: block;
}

.btn li img {
    width: 15%;
    vertical-align: middle;
    line-height: 43px;
}

.btn li .share {
    margin-left: 10px;
}

.pop {
    background: rgba(0, 0, 0, 0.7);
    display: none;
    color: #fff;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 9;
}

.pop img {
    right: 0;
    position: absolute;
    width: 60%;
    top:0
}

.top_btn {
    width: 70%;
    display: block;
    margin: 0 auto;
    background: #e5212b;
    color: white;
    height: 50px;
    font-size: 1.2em;
    padding-top: 10px;
    text-align: center;
    border-radius: 5px;
}